package cn.gjculture.shopping.api.entity;

import lombok.Data;

@Data
public class PostageTemplate {
    private String postageTemplateId;
    private Integer templateType=TemplateType.ACTUAL_PAY.value;
    //max:130, 用","隔开
    private String area;
    private String postageTemplateName;
    //首件/实付金额
    private String firstPort;
    //运费
    private String firstPortPostage;
    //后续增加
    private Integer increase;
    //后续增加费用
    private String increasePostage;



    public enum TemplateType{
        ACTUAL_PAY(1),UNIT(2),NOT_SELL(3);

        TemplateType(Integer value){
            this.value=value;
        }


        private Integer value;
    }
}
